package it.bela.pgcdc.common.dao;

import it.bela.pgcdc.common.bean.BaseBean;

import java.util.List;

public interface BaseBeanDao {

	public abstract void persist(BaseBean baseBean);
	public abstract void attachDirty(BaseBean baseBean);
	public abstract void attachClean(BaseBean baseBean);
	public abstract void delete(BaseBean baseBean);
	public abstract BaseBean merge(BaseBean baseBean);
	public abstract BaseBean findById(Class<?> classe, Long id);
	public abstract List<Class<?>> findByExample(Class<?> classe, BaseBean baseBean);
	public abstract void save(BaseBean baseBean);

}
